//
//  NewsInfo.m
//  Bus
//
//  Created by wangjiajia on 13-8-5.
//  Copyright (c) 2013年 wangjiajia. All rights reserved.
//

#import "NewsInfo.h"

@implementation NewsInfo
//@synthesize ArticleID=_ArticleID;//默认

-(NewsInfo *)initWithParameters:(int)ArticleID andHits:(int)Hits andTitle:(NSString *)Title andArticleCont:(NSString *)ArticleCont andSendTime:(NSString *)SendTime andSendUserName:(NSString *)SendUserName{
    NewsInfo* n=[[NewsInfo alloc] init];
    n.ArticleID=ArticleID;
    n.Hits=Hits;
    n.Title=Title;
    n.ArticleCont=ArticleCont;
    n.SendTime=SendTime;
    n.SendUserName=SendUserName;
    return n;
}

@end
